<template>
    <div class="list-box" v-loading="loading">
        <el-table
            :data="tableData"
            border
            style="width: 100%">
            <el-table-column
                fixed
                prop="gameid"
                label="id">
            </el-table-column>
            <el-table-column
                prop="gameid"
                label="榜单">
            </el-table-column>
            <el-table-column
                prop="gameid"
                label="关联游戏数">
            </el-table-column>
            <el-table-column
                prop="gameid"
                label="C端展示条数">
            </el-table-column>
            <el-table-column
                prop="gameid"
                label="人工干预数">
            </el-table-column>
            <el-table-column
                prop="gameid"
                label="前十条游戏">
            </el-table-column>
            <el-table-column
                prop="gameid"
                label="修改时间">
            </el-table-column>
            <el-table-column
                prop="address"
                fixed="right"
                label="操作">
                <template slot-scope="scope">
                    <div><el-button @click="goDetail(scope.row)" type="text" size="small">查看详情</el-button></div>
                </template>
            </el-table-column>
        </el-table>
    </div>
</template>

<script>
export default {
    data () {
        return {
            loading: false,
            tableData: [{}]
        }
    },

    methods: {
        // 获取列表
        getList () {

        },

        // 查看详情
        goDetail (item) {
            this.$router.push({
                path: '/game/listDetail'
            })
        }
    }
}
</script>

<style lang="scss" scoped>

</style>
